<!-start->
<link href="css/commentcontent.css" rel="stylesheet" type="text/css" />
<link href="css/pages.css" rel="stylesheet" type="text/css" />
<script type=text/javascript src="{#CP#}js/comment.js"></script>
<script type=text/javascript src="{#CP#}js/banzhu.js"></script>
<!-start->

<!-con->
<table width="100%" height="150"  border="0" cellpadding="0" cellspacing="0" id="commentcontent">
	<tr>
		<td width="160" align="center" valign="top"  class="namezone">
			<div class="face"><a href="{#memberurl#}"><img src="{#face#}" width="90" border="0" /></a></div>
			<div class="pname"><a href="{#memberurl#}">{#pname#}</a></div>
			<div class="showcent" style="display:{#showmemberlink#}">{#centname1#}：{#cent1#}</div>
			<div class="showcent" style="display:{#showmemberlink#}">{#centname2#}：{#cent2#}</div>
			<div class="showcent" style="display:{#showmemberlink#}">{#centname3#}：{#cent3#}</div>
			<div id="useradd_{#memberid#}" class="user_add" style="display:{#showmemberlink#}">加为好友</div>
			<div id="sendmsg_{#memberid#}" class="send_msg" style="display:{#showmemberlink#}">发送短信</div>
		</td>
		<td valign="top" >
			<div class="info">发布于：{#dtime#}&nbsp; 访问:{#cl#} 次 回复:{#count#} 篇 </div>
			<div class="banzhu">版主管理 | <span id='banzhutj'>推荐</span> | <span id='banzhudel'>删除</span> | <span id='banzhudelmincent'>删除并扣分</span></div>
			<input type="hidden" id="commentid" value="{#commentid#}" />
			<div class="commenttitle">{#title#} </div>
			<div id="con" class="commentbody">
				{#body#}
			</div>
		
			<div class="sign">
				<img src="images/sigline.gif">
			</div>
			<div class="signature">
				{#signature#}
			</div>
		</td>
	</tr>
</table>

<div id="showpages">
	<div id="pagesinfo">共{#totalnums#}篇回复 每页{#pagesshownum#}篇 页次：{#pagesnow#}/{#pagestotal#}</div>
	<div id="pages">{#showpages#}</div>
</div>
<!-con->

<!-list->
<div id="commentback_{#backid#}">
	<table width="100%" height="150"  border="0" cellpadding="0" cellspacing="0" id="commentcontent" style="margin:0px 0px -1px 0px">
		<tr>
			<td width="160" align="center" valign="top"  class="namezone">
				<div class="face"><a href="{#memberurl#}"><img src="{#face#}" width="90" border="0" /></a></div>
				<div class="pname"><a href="{#memberurl#}">{#pname#}</a></div>
				<div class="showcent" style="display:{#showmemberlink#}">{#centname1#}：{#cent1#}</div>
				<div class="showcent" style="display:{#showmemberlink#}">{#centname2#}：{#cent2#}</div>
				<div class="showcent" style="display:{#showmemberlink#}">{#centname3#}：{#cent3#}</div>
				<div id="useradd_{#memberid#}" class="user_add" style="display:{#showmemberlink#}">加为好友</div>
				<div id="sendmsg_{#memberid#}" class="send_msg" style="display:{#showmemberlink#}">发送短信</div>
			</td>
			<td valign="top" >
				<div class="info"> {#dtime#} BY {#pname#}</div>
					<div class="banzhu">版主管理 | <span id='banzhudelback_{#backid#}' class='banzhudelback'>删除</span> | <span id='banzhudelbackmincent_{#backid#}' class='banzhudelbackmincent'>删除并扣分</span></div>
					<div id="con" class="commentbody">
						{#body#}
					</div>
		
					<div class="sign">
						<img src="images/sigline.gif">
					</div>
					<div class="signature">
						{#signature#}
					</div>
				</td>
		  </tr>
	</table>
</div>
<!-list->

<!-end->
<div id="showpages">
	<div id="pagesinfo">共{#totalnums#}篇回复 每页{#pagesshownum#}篇 页次：{#pagesnow#}/{#pagestotal#}</div>
	<div id="pages">{#showpages#}</div>
</div>
<script>
if({#totalnums#}<1){
	document.getElementById("showpages").style.display='none';
}
</script>

<div id="commentForm">
	<div class="formtitlebg">
		<div class="formtitle">我要回复</div>
	</div>

	<div class="formzone">
		<div  id="notice" class="noticediv"></div>

		<form id="commentSend" action="" method="post">

			<div class="row">
				<div class="left">回复内容</div>
				<div class="con">
					<input name="title" type="hidden"  value="回复：{#title#}" />
					<input type="hidden" name="body" value="" />
					<input type="hidden" name="useedit" value="1" />

					<div id="kedit" style="position:relative">
						<script type="text/javascript" src="{#RP#}kedit/simpleEditor.js"></script>
						<script type="text/javascript">
						var editor = new KindEditor("editor");
						editor.hiddenName = "body";
						editor.editorWidth = "560px";
						editor.editorHeight = "200px";
						editor.skinPath = "{#RP#}kedit/skins/default/";
						editor.uploadPath = "{#RP#}comment/upload.php";
						editor.imageAttachPath="comment/pics/";
						editor.iconPath = "{#RP#}kedit/icons/";
						editor.show();
						function KindSubmit() {
						  editor.data();
						}
						 </script>
					 </div>

				</div>
			</div>


			<div class="row">
				<div class="left">验 证 码</div>
				<div class="con">
					<table border="0" cellspacing="1" cellpadding="0" height="20">
						<tr>
							<td >
								<input type="text" name="ImgCode" style="width:55px"  class="input" >
							</td>
							<td>
								<img id="codeimg" src="{#RP#}codeimg.php" width="60" height="20" style="border:1px #dddddd solid">
							</td>
							<td><span id="getImgCode" style="cursor:pointer;margin-left:10px;line-height:20px">看不清？更换一张</span></td>
						</tr>
					</table>
				</div>
			</div>

			<div class="row">

				<div  style="float:left;line-height:30px;margin:0px 10px 0px 98px">
					<input id="nomember"  name="nomember" type="checkbox" value="1" checked="true" /> 匿名发表&nbsp; 
				</div>

				<div id="notLogin" style="display:none;float:left;line-height:33px">您尚未登录 <span class="loginlink">登录</span> | <a href="{#RP#}member/reg.php" class="nomal">注册</a></div>
				<div id="isLogin" style="display:none;float:left;line-height:33px">您已登录,登录账号: <span id="username"></span> &nbsp; | &nbsp;<a href="{#RP#}member/" class="nomal">会员中心</a> | &nbsp;<span class="logoutlink">退出</span></div>

			</div>


			<div class="row">
				<div style="text-align:left;padding:5px 3px 0px 100px">
					<input type="submit" name="cc" value="提交"  onClick="KindSubmit();" class="button" />
					<input name="act" type="hidden" id="act" value="commentsend" />
					<input name="rid" type="hidden" id="rid" value="{#rid#}" />
					<input type="hidden" name="pid" value="{#pid#}" />
					<input name="catid" type="hidden" id="catid" value="{#catid#}" />
					<input name="nowpage" type="hidden" id="nowpage" value="{#nowpage#}" />
				</div>

			</div>
		</form>
	</div>
</div>	 

<!-end->

<!-err1->
<div class="notice">当前ID不存在或尚未发布</div>
<!-err1->